package com.shunli.cterminal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shunli.cterminal.entity.SystemOrder;
import com.shunli.cterminal.model.bo.ProjectOrderNumBO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @className: SystemOrderMapper
 * @description: TODO
 * @author: DAIYALU
 * @date: 2024/5/28
 * @version: 1.0
 */
public interface SystemOrderMapper extends BaseMapper<SystemOrder> {

    SystemOrder queryInfoByOrderNo(@Param("orderNo") String orderNo);

    List<ProjectOrderNumBO> selectProjectOrderNum(@Param("projectCodeList")List<String> projectCodeList, @Param("startTime") LocalDateTime startTime);

    SystemOrder queryOrderByOrderNo(@Param("orderNo") String orderNo);
}
